package com.example.logdemo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @version 1.0
 * @author: ZackYoung
 * @date: 2021/4/1 10:57
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class UserExecuteLog extends Model<UserExecuteLog> {
    @TableId(type = IdType.AUTO)
    private Long id;

    private Long userId;

    private String type;

    private String content;

    private String ip;

    private Long executeUserId;

}

